<?php
// +----------------------------------------------------------------------
// | ThinkSNS
// +----------------------------------------------------------------------
// | Copyright (c) 2008 http://www.thinksns.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: Nonant <nonant@163.com>
// +----------------------------------------------------------------------

class BaseAction extends Action {
	var $_isbugadmin = false;
	
	function _initialize(){
		if(in_array($this->mid, adminList())){
			$this->assign('isbugadmin',true);
			$this->assign('adminlist', adminList());
			$this->_isbugadmin = true;
		}		
	}	
}
